<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
	<meta content="telephone=no" name="format-detection">
	<link rel="stylesheet" href="__PUBLIC__/wechat/css/global.css" />
	<link rel="stylesheet" href="__PUBLIC__/wechat/css/main.css" />
	<title>更改安全密码</title>
</head>
<body class="bg_f5f5f5">
	<div class="all_top">
		<div class="all_top_main">
			<a href="javascript:history.go(-1);" class="all_top_back"></a>
			<p class="all_top_tit t_c">更改安全密码</p>
		</div>
	</div>
	<form action="#" method="post" class="user_pas">
		<ul class="user_pas_ul">
			<li class="user_pas_li">
				<input type="password" placeholder="当前密码" />
			</li>
			<li class="user_pas_li">
				<input type="password" placeholder="新密码" />
			</li>
			<li class="user_pas_li">
				<input type="password" placeholder="确认新密码" />
			</li>
		</ul>
		<div class="add_pas_bottom">
			<input type="submit" class="big_btn2" value="保存" />
		</div>
	</form>
	
</body>
</html>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/public.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery.validate.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/wechat/js/jquery-validate-methods.js"></script>
<script type="text/javascript">
    $(document).ready(function(){
        $('#forms').validate({//表单验证
            rules: {
                _name: {
                	required: true
                },
                _phone: {
                	required: true
                },
                _address: {
                	required: true
                }
            },
            messages: {
                _name: {
                	required:'请填写姓名'
                },
                _phone: {
                	required:'请填写联系电话'
                },
                _address: {
                	required:'请填写联系地址'
                }
            },  
            showErrors: function(errorMap, errorList) { 
                $.each( errorList, function(i,v){
                    if(v.message!=""){
                        openWarningBox(v.message);
                        return false;
                    }
                });  
            },
            /* 失去焦点时不验证 */
            onfocusout: false
        });
    });
</script>
